home *** CD-ROM | disk | FTP | other *** search
/ L' Effet Pommier 3 / L'Effet Pommier - Volume 03.iso / Utils□□□ Divers 2 / Puppet / Read Me < prev   
Text File  |  1995-10-30  |  2KB  |  41 lines

  1. Puppet
  2. by Mike Clifton
  3. clifton@cse.ucsc.edu
  4. http://www.cse.ucsc.edu/~clifton
  5.  
  6. Using Puppet:
  7. Puppet is just a "toy" program, so don't expect it to do much. Just play
  8. around with it and have a couple minutes of free fun.
  9.  
  10. Puppet allows you to control a "skin" object by moving an underlying "skeleton".
  11. When running puppet, choose New to open a new puppet window. In this window,
  12. drag around the red points on the skeleton to move it around. You can even
  13. set up a simple animation. Set up the skeleton in three positions: start,
  14. middle, and end using the radio buttons at the bottom of the window. Press the
  15. green arrow button to run the animation.
  16.  
  17. Puppet comes with other skeletons and skins you can try out. Any skeleton
  18. can be used with any skin, but you'll find that the ones with similar names
  19. work best together. Press the skeleton button to choose a new skeleton or the
  20. skin button to choose a new skin.
  21.  
  22. Technical details:
  23. Puppet is a little toy program I'm using to test out a new event handling
  24. and user interface library. The main goal of the library is to allow a
  25. program to perform multiple functions at once (updating windows, running
  26. an animation loop, handling user interaction, etc.). Compared to the computer,
  27. the user is really slow when doing such things as pressing buttons, or working
  28. with modal dialogs. Why should the computer not do anything useful during these
  29. times? The library used in Puppet provides a standardized way for a program
  30. to make use of this time. This is done by handling events and controls without
  31. "help" from the Mac. Unfotunately, the main menu bar, window dragging, and open/
  32. save dialogs are still the built-in Mac versions, so they lock up the computer,
  33. wasting valuable time. As for other controls, try running an animation loop and
  34. hold down a button in the window - the Mac won't lock up. You can even run an
  35. animation in one window and drag around a figure in another window at the same
  36. time.
  37.  
  38. Just for fun, Puppet's interface looks different from Apple's guidelines, but this
  39. isn't a requirement of the user interface library - it could make itself look more
  40. boring if it wanted to.
  41.